package io.seata.sample.service;

/**
 * @Author: linKe
 * @Date: 2022/1/25 10:22
 * @FileName: StockService
 * @version: 1.0
 * @Description: 描述
 */
public interface StockService {

    /**
     * 扣减库存
     *
     * @param productId 产品id
     * @param count     数量
     * @return
     */
    void decrease(Long productId, Integer count);
}

